package com.hospital.demo.mapper.lxy;

import com.hospital.demo.model.lxy.Certificate;
import com.hospital.demo.model.lxy.Registration;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 李欣远
 * @since 2020-04-08
 */
@Mapper
public interface CertificateMapper {
    abstract List<Certificate> selCer();
    List<Certificate> selCerByD(int did);
    List<Certificate> selCerByDe(Certificate certificate);
    List<Certificate> selCerByPName(String pname);
    int save(Certificate certificate);
    int updateById(Certificate certificate);
    int removeById(Integer cid);
    List<Certificate> selCer0();
}
